package com.thinkgem.jeesite.modules.front.utils;

import java.util.List;

import com.thinkgem.jeesite.common.utils.SpringContextHolder;
import com.thinkgem.jeesite.modules.front.entity.News;
import com.thinkgem.jeesite.modules.front.service.NewsService;

public class NewsUtils {
	
	private static NewsService newsService = SpringContextHolder.getBean(NewsService.class);
	
	/**
	 * 查询热点新闻资讯
	 * @param regionType
	 * @return
	 */
	public static List<News> getHotNewsList(Integer start, Integer end){
		
		return newsService.getHotNewsList(start,end);
	}

}
